package connect.bdd;

public class Connect {

    public String drivers;

    public Connect(String driv) {
        this.drivers = driv;
    }

    /* initialisation des drivers*/
    public boolean DriversCharg() {
        try {
            Class.forName(drivers);
            System.out.println("Drivers charges");
        } catch (ClassNotFoundException e) {
            System.err.println("Chargement drivers echoue\n" + e);
            return false;
        }
        return true;
    }
}
